package Dao;

public class CriteriaFood {
	
	private String foodName;
	private String foodDescription;
	private String foodPrice;
	
	public String getFoodName() {
		
		if(foodName==null)
			foodName="%%";
		else
			foodName="%"+foodName+"%";
		
		return foodName;
	}
	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}
	public String getFoodDescription() {
		
		if(foodDescription==null)
			foodDescription="%%";
		else
			foodDescription="%"+foodDescription+"%";
		
		return foodDescription;
	}
	public void setFoodDescription(String foodDescription) {
		this.foodDescription = foodDescription;
	}
	public String getFoodPrice() {
		
		if(foodPrice==null)
			foodPrice="%%";
		else
			foodPrice="%"+foodPrice+"%";
		
		return foodPrice;
	}
	public void setFoodPrice(String foodPrice) {
		this.foodPrice = foodPrice;
	}
	/**
	 * @param foodNo
	 * @param foodName
	 * @param foodDescription
	 * @param foodPrice
	 */
	public CriteriaFood(String foodName, String foodDescription, String foodPrice) {
		super();
		this.foodName = foodName;
		this.foodDescription = foodDescription;
		this.foodPrice = foodPrice;
	}

	
		
}
